<{include file="weixin/block/header.html"}>
<header class="ui-header ui-header-stable ui-border-b ucenterTit">	
<h1>我的工地</h1>
</header>
<style type='text/css'>
.tips{padding:3px 5px;font-size:12px;color:#FFFFFF;border-radius:20px;}
.tips01{background:#00AD28;}
.tips02{background:#DDDDDD;}
a{color:#FFFFFF;display:block;width:70px;height:30px;line-height:30px;text-align:center; background:#FF9900;font-size:13px;border-radius:3px;}
</style>
<div class="h45"></div>
<ul class="ui-list ui-list-function ui-border-tb ucenter_list">	
<{foreach $items as $item}>    
	<li class="ui-border-t">        
		<div class="ui-list-info">
			<h4 class="ui-nowrap"><{$item['title']}></h4>
			<span class='tips01 tips'>
				<{if $item['status'] == 0 }>
					未开工
				<{else}>
					<{$steps[$item['status']]}>
				<{/if}>
			</span>
			<span class='tips02 tips'><{$item['dateline']|format:'Y-m-d'}></span>
		</div>        
		
			<a href="<{link ctl='weixin/gz/site:detail' arg0=$item['site_id']}>">查看日记</a>
		    
	</li>	
<{foreachelse}>		
<li class="ui-border-t">没有数据</li>	
<{/foreach}>	
</ul>

<{include file="weixin/block/footer.html"}>